package com.framework.repository;

import com.framework.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.UUID;

/**
 * @Description: user表实现类
 * @Author: JamesYao
 * @DateTime: 2023/12/14 11:55
 */

public interface UserRepository extends JpaRepository<User, UUID> {
    User findByAccount(String account);
    User findByAccountAndPs(String account,String ps);
}
